package edu.hcmus.sow.web.document;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;

import edu.hcmus.sow.domain.User;

public class FolderForm {
   private Integer id;
   private Integer parentID;
   @NotEmpty(message = "Folder name must not be blank.")
   private String folderName;
   private String description;
   private Date createdDate;
   private User createdBy;

   public FolderForm() {

   }

   public FolderForm(Integer parentID) {
      this.parentID = parentID;
   }

   public FolderForm(Integer id, Integer parentID, String folderName, String description, Date createdDate,
         User createdBy) {
      this.id = id;
      this.parentID = parentID;
      this.folderName = folderName;
      this.description = description;
      this.createdDate = createdDate;
      this.createdBy = createdBy;
   }

   public Integer getId() {
      return id;
   }

   public void setId(Integer id) {
      this.id = id;
   }

   public Integer getParentID() {
      return parentID;
   }

   public void setParentID(Integer parentID) {
      this.parentID = parentID;
   }

   public String getFolderName() {
      return folderName;
   }

   public void setFolderName(String folderName) {
      this.folderName = folderName;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public Date getCreatedDate() {
      return createdDate;
   }

   public void setCreatedDate(Date createdDate) {
      this.createdDate = createdDate;
   }

   public User getCreatedBy() {
      return createdBy;
   }

   public void setCreatedBy(User createdBy) {
      this.createdBy = createdBy;
   }
}
